import { GroupMessageEntity } from './../../entities/groupMessage.entity';
import { UserGroupEntity } from './../../entities/userGroup.entity';
import { GroupEntity } from './../../entities/group.entity';
import { TypeOrmModule } from '@nestjs/typeorm';
import { Module } from '@nestjs/common';
import { GroupController } from './group.controller';
import { GroupService } from './group.service';

@Module({
  imports: [
    TypeOrmModule.forFeature([GroupEntity, UserGroupEntity, GroupMessageEntity]),
  ],
  controllers: [GroupController],
  providers: [GroupService]
})
export class GroupModule {}
